package thread.concurrents;

import java.util.concurrent.LinkedBlockingQueue;

public class LinkedBlockingQueueDemo {


  public static void main(String[] args) {
    LinkedBlockingQueue<Integer> queue = new LinkedBlockingQueue<>();

    try {
      queue.put(2);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }

  }



}
